<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    
   <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>显示用户信息</title>
</head>
<body>

<div>
  当前用户：${uname}
</div>
<!--  jstl el-->
   <table>
     <tr>
       <td>用户id<td>
        <td>用户名<td>
         <td>密码<td>
          <td>电话号码<td>
           <td>地址<td>
            <td>操作</td>
     </tr>
     <c:forEach items="${userlist}" var="user">
     <tr>
       <td>${user.uid}<td>
        <td>${user.uname}<td>
         <td>${user.upwd}<td>
          <td>${user.utelephone}<td>
           <td>${user.uaddress}<td>
            <td><a href="delete.user?uid=${user.uid}">删除</a>&nbsp;&nbsp;<a href="find.user?uid=${user.uid}">修改</a></td>
     </tr>
     </c:forEach>
     
     
   </table>
   
   
   <a href="add.jsp">添加</a>
</body>
</html>